//
//  ViewController.swift
//  MLFoundation
//
//  Created by 2950111445@qq.com on 11/06/2024.
//  Copyright (c) 2024 2950111445@qq.com. All rights reserved.
//

import UIKit

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        let view1 = UIView(frame: CGRect(x: 0, y: 0, width: 100, height: 100))
        view1.backgroundColor = .red
        
        let view2 = UIView(frame: CGRect(x: 100, y: 100, width: 100, height: 100))
        view2.backgroundColor = .blue
        
        self.view.ml_addSubViews(subViews: [view1, view2])
        // Do any additional setup after loading the view, typically from a nib.
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }

}

